package com.douya.pangu.application;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 说明：启动类
 *
 * @author hcy
 * @date 2022/11/10
 */
@EnableDiscoveryClient
@EnableFeignClients(
        basePackages = "com.douya.pangu.api.client"
)
@SpringBootApplication(
        scanBasePackages = "com.douya"
)
public class PanGuCoreApplication {


    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(PanGuCoreApplication.class);
        springApplication.run(args);
    }

}
